/**
 * Copyright 2016-2018 mobaas.com
 */
package com.mobaas.devops;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 
 * @author billy zhang
 * 
 */
@Component
public class Config {

    @Value("${devops.schedule.dispatch-cron}")
    private String dispatchCron;

	@Value("${devops.api.thread-pool-size}")
	private int threadPoolSize;
	
	public String getDispatchCron() {
		return dispatchCron;
	}

	public int getThreadPoolSize() {
		return threadPoolSize;
	}
    
}
